package com.example.weibo_app.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@ApiModel(description = "轮播图实体类")
public class Banner {
    @ApiModelProperty(value = "图片路径", example = "1")
    private Integer id;

    @ApiModelProperty(value = "标题", example = "新品推荐")
    private String title;

    @ApiModelProperty(value = "图片路径，前端不用传，后端生成", example = "/images/banner1.jpg")
    private String image_Path;

    @ApiModelProperty(value = "状态 (1: 启用, 0: 禁用)", example = "1")
    private Integer status;

    @ApiModelProperty(value = "创建时间", example = "2024-12-01T10:00:00")
    private LocalDateTime createdTime;
}
